gtkaboutdialog: don't break ABI in GtkLicense enum
authorMohammed Sadik <sadiq@sadiqpk.org>
Fri, 25 Mar 2016 12:38:07 +0000 (18:08 +0530)
committerRico Tzschichholz <ricotz@ubuntu.com>
Fri, 25 Mar 2016 17:38:46 +0000 (18:38 +0100)
commitd47c7f7ba01d12a529bf25ccee099046754f5538
treee3e040df7ea16f0781a7e648a84c6e9db59e9a35
parent4c8557fa35e6e0705a21e084479606e749e823cc
gtkaboutdialog: don't break ABI in GtkLicense enum

As the elements in the enum are not explicitly numbered, inserting an
element between some other elements shall change the values of elements
after the insertion. So append the new element at the end.

Anyway, no code should rely on the position of an element in an enum.

https://bugzilla.gnome.org/show_bug.cgi?id=763850
gtk/gtkaboutdialog.c
gtk/gtkaboutdialog.h